feat: expose Monaco and Dynamic Page as Web Components#3579
feat: expose Monaco and Dynamic Page as Web Components#3579mrCherry97 merged 18 commits intokyma-project:mainfrom
Conversation
|
/hold @pbochynski review |
There was a problem hiding this comment.
The script for custom extension is loaded only if web component defined in general.customElement is not defined yet. The idea was that all custom extensions introduce own custom elements and this way we can lazily load the script (only once: see the code). The example provided in this PR is not complete (missing general section) and does not define a web component for custom extension. If developers will start to use it as it is it will work, but with each render of the custom extension script element will be added to the DOM document. I am not sure if it is intended.
|
|
||
| # Set Up Your Custom Busola Extension | ||
|
|
||
| To set up and deploy this exmaple, follow [this]('examples/../../custom-extension/README.md) documentation. |
There was a problem hiding this comment.
| To set up and deploy this exmaple, follow [this]('examples/../../custom-extension/README.md) documentation. | |
| To apply this example in your cluster execute: | |
| ```bash | |
| kubectl kustomize . | kubectl apply -n kyma-system -f - |
For more information follow this documentation.
There was a problem hiding this comment.
This command is provided as an alternative in the Custom Extension README. Does it mean that this command covers all previous steps (1. Enable custom extensions in your cluster, 2. Adjust the static HTML content, etc)? Or should a user execute this one first and then follow 1., 2., 3. 4. from the example?
|
|
||
| # Set Up Your Custom Busola Extension | ||
|
|
||
| To set up and deploy this exmaple, follow [this]('examples/../../custom-extension/README.md) documentation. |
There was a problem hiding this comment.
This command is provided as an alternative in the Custom Extension README. Does it mean that this command covers all previous steps (1. Enable custom extensions in your cluster, 2. Adjust the static HTML content, etc)? Or should a user execute this one first and then follow 1., 2., 3. 4. from the example?


Description
Changes proposed in this pull request:
Related issue(s)
Closes #3520
Definition of done
backlog#4567